import { loginRequest, request } from './axiosRequest';
// 登录接⼝
export const login = (params) => { return loginRequest("post", "/user/login", params) };

//用户管理-获取用户列表
export const userList = (params) => { return request("post", "/user/list", params) };
//用户管理-添加用户
export const userInsert = (params) => { return request("post", "/user/insert", params) };
//用户管理-删除用户
export const userDelete = (params) => { return request("post", "/user/delete", params) };
//用户管理-修改用户
export const userUpdate = (params) => { return request("post", "/user/update", params) };
//用户管理-查找用户
export const userSearch= (params) => { return request("post", "/user/search", params) };